using Common;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnesSystem.Models
{
    public class DeviceOnlineModel : ObservableObject
    {
        private ObjectId _id;
        private string deviceID;
        private string deviceName;
        private DateTime dataStopTime;
        private string launchStatus;
        private string connectStatus;
        private string dataStatus;
        private string dataNumbers;

       
        public string DeviceID
        {
            get
            {
                return deviceID;
            }

            set
            {
                deviceID = value;
                RaisePropertyChanged("DeviceID");
            }
        }
        public string DeviceName
        {
            get
            {
                return deviceName;
            }

            set
            {
                deviceName = value;
                RaisePropertyChanged("DeviceName");
            }
        }
        public DateTime DataStopTime
        {
            get
            {
                return dataStopTime;
            }

            set
            {
                dataStopTime = value;
                RaisePropertyChanged("DataStopTime");
            }
        }
        public string LaunchStatus
        {
            get
            {
                return launchStatus;
            }

            set
            {
                launchStatus = value;
                RaisePropertyChanged("LaunchStatus");
            }
        }
        public string ConnectStatus
        {
            get
            {
                return connectStatus;
            }

            set
            {
                connectStatus = value;
                RaisePropertyChanged("ConnectStatus");
            }
        }
        public string DataStatus
        {
            get
            {
                return dataStatus;
            }

            set
            {
                dataStatus = value;
                RaisePropertyChanged("DataStatus");
            }
        }
        public string DataNumbers
        {
            get
            {
                return dataNumbers;
            }

            set
            {
                dataNumbers = value;
                RaisePropertyChanged("DataNumbers");
            }
        }

        public ObjectId Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value; RaisePropertyChanged("Id");
            }
        }
    }
}